for row in range(1, 10):
    line = ""
    for col in range(1, row+1):
        term = "{}*{}={:>2d}".format(col,row,col*row)
        line += "{:>7s}".format(term)
    print("{:>63s}".format(line))
